/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package memoriavirtual;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

/**
 *
 * @author Pedro Freitas
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    static MemoriaVirtual MV_model;
    static MemoriaVirtualController MV_controller;
    static JanelaPrincipal MV_view;
    static JanelaTP TP_view;
    static Arquivo A_model;
    static ArquivoController A_controller;
    
    public static void main(String[] args) {
        MV_model = new MemoriaVirtual();
        MV_view = new JanelaPrincipal();
        MV_controller = new MemoriaVirtualController(MV_model, MV_view);
        A_model = new Arquivo();
        A_controller = new ArquivoController(A_model, MV_view);
        MV_view.setVisible(true);
    }
}
